import heap.Heap;

import java.util.Collection;
import java.util.Map;

public class NPJ {
    public static void print(String string) {
        System.out.println(string);
    }

    public static void collect(int[] heap, Collector collector, Map<Object, Object> params) {
    	System.out.println("Collect");        
        collector.collect(null, null);
    }

	/*
	  typeTVariables - kolekcja wartosci pola "data" wszystkich zywych obiektow typu T
	  typeSVariables - kolekcja wartosci wszystkich zywych obiektow typu S 
	*/
    public static void heapAnalyze(Collection<Integer> typeTVariables, Collection<String> typeSVariables) {
    	System.out.println("HeapAnalyze");
    	for(String s: Heap.getInstance().collectS()){
			System.out.println(s);
		}
    	for(Integer s: Heap.getInstance().collectT()){
			System.out.println(s);
		}
    }
}
